<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>新增银行卡</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
</head>
<body>
<div class="container mt-4">
    <h2>新增银行卡</h2>
    <form method="post">
        <div class="mb-3">
            <label class="form-label">卡号</label>
            <input type="text" class="form-control" name="cardID" required>
        </div>
        <div class="mb-3">
            <label class="form-label">币种ID</label>
            <input type="text" class="form-control" name="curID">
        </div>
        <div class="mb-3">
            <label class="form-label">存款类型ID</label>
            <input type="text" class="form-control" name="savingID">
        </div>
        <div class="mb-3">
            <label class="form-label">开户日期</label>
            <input type="date" class="form-control" name="openDate">
        </div>
        <div class="mb-3">
            <label class="form-label">开户金额</label>
            <input type="number" step="0.01" class="form-control" name="openMoney">
        </div>
        <div class="mb-3">
            <label class="form-label">余额</label>
            <input type="number" step="0.01" class="form-control" name="balance">
        </div>
        <div class="mb-3">
            <label class="form-label">初始密码</label>
            <input type="text" class="form-control" name="pass" value="123456" required>
        </div>
        <div class="mb-3">
            <label class="form-label">挂失状态</label>
            <input type="text" class="form-control" name="IsReportLoss" value="0">
        </div>
        <div class="mb-3">
            <label class="form-label">客户ID</label>
            <input type="text" class="form-control" name="customerID" required>
        </div>
        <button type="submit" class="btn btn-primary">提交</button>
        <a href="{{ url_for('admin_cards') }}" class="btn btn-secondary">返回</a>
    </form>
</div>
</body>
</html> 